from htmltestreport import HTMLTestReport
from scripts.test01_home import TestHomeAPI
import config
import unittest
suite=unittest.defaultTestLoader.loadTestsFromTestCase(TestHomeAPI)
runner_path=config.BASE_PATH+"/reporter/index.html"
runner=HTMLTestReport(runner_path,title="ego 接口自动化")
runner.run(suite)